<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;

class Coring extends Model implements Transformable
{
    use TransformableTrait;

    protected $table = 'core';//指定表
    
    // 指定可访问字段
    protected $fillable = ['core_id', 'loop_name', 'resi_current', 'cable_temp', 'location',
        'smoke', 'fire', 'near_infrared'];
}
